fix datagrid column resize on rtl mode#4436
Conversation
vnbaaij
left a comment
There was a problem hiding this comment.
This is not a good fix in it's current form.
The only thing that is needed to make RTL resizing work correctly is that in the script on lines 301 and 305 the 'px' need to be removed (so it just says div.style.left='0' and div.style.right='0').
There are no CSS changes needed and the calculation on line 259 is already correct. Your change would lead to the same result for the diffX value
|
Fixed with #4453 |
|
Hi @vnbaaij Thanks for your response |
|
Hope you and your loved ones are safe and well! I verified the working with the other PR |
Pull Request
📖 Description
on RTL mode, the
resize-handlediv should display at the end of column (left)Additionally, when the user starts to drag the
actual-resize-handleelement,Increasing or decreasing the column width should be the opposite of left-to-right.
🎫 Issues
resize-handlerendered at the start of columndrag does not behave as expected
👩💻 Reviewer Notes
📑 Test Plan
✅ Checklist
General
Component-specific